package com.love.cloud.admin.api.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.love.cloud.common.mybatis.entity.SimpleBaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 关注应用
 * @author hongdongqu
 */
@Data
@Entity
@Table(name = "ding_talk_async")
@TableName("ding_talk_async")
@EqualsAndHashCode(callSuper = false)
@org.hibernate.annotations.Table(appliesTo = "ding_talk_async",comment="钉钉同步")
public class DingTalkAsync extends SimpleBaseEntity {

    @Column(columnDefinition = "varchar(80) COMMENT '同步类型'")
    private String asyncType;

    @Column(columnDefinition = "INT  COMMENT '同步版本号'")
    private Integer asyncVersion;

    @Column(columnDefinition = "varchar(500)  COMMENT '历史表记录(Json),最多只记录最近三次同步表数据'")
    private String hisTableInfo;
}
